Sha256: ba7c4e5fe5c7c596c22e5f4997e444be9c9ad89a786d88d796bd1bf3780fd66b

Contents?: true

Size: 619 Bytes

Versions: 4

Compression:

Stored size: 619 Bytes

Contents

# DO NOT EDIT: File is generated by code generator.

require "pokepay_partner_ruby_sdk/response/private_money"
require "pokepay_partner_ruby_sdk/response/user"

module Pokepay::Response
  class AccountWithUser
    def initialize(row)
      @id = row["id"]
      @name = row["name"]
      @is_suspended = row["is_suspended"]
      @status = row["status"]
      @private_money = PrivateMoney.new(row["private_money"])
      @user = User.new(row["user"])
    end
    attr_reader :id
    attr_reader :name
    attr_reader :is_suspended
    attr_reader :status
    attr_reader :private_money
    attr_reader :user
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pokepay_partner_ruby_sdk-0.3.2 lib/pokepay_partner_ruby_sdk/response/account_with_user.rb
pokepay_partner_ruby_sdk-0.3.1 lib/pokepay_partner_ruby_sdk/response/account_with_user.rb
pokepay_partner_ruby_sdk-0.3.0 lib/pokepay_partner_ruby_sdk/response/account_with_user.rb
pokepay_partner_ruby_sdk-0.2.0 lib/pokepay_partner_ruby_sdk/response/account_with_user.rb