Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
less_accounting / lib / less_accounting / response.rb
Size: Mime:
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