Repository URL to install this package:
|
Version:
0.1.0 ▾
|
module LessAccounting
module Response
def self.create(response_hash)
data = response_hash.data.dup rescue response_hash
data.extend(self)
return data
# data.instance_exec do
# @pagination = response_hash.pagination
# @meta = response_hash.meta
# end
# data
end
attr_reader :pagination
attr_reader :meta
end
end