Class: IletimerkeziSdk::Responses::AccountResponse

Inherits:
BaseResponse
  • Object
show all
Defined in:
lib/iletimerkezi_sdk/responses/account_response.rb

Instance Attribute Summary collapse

Attributes inherited from BaseResponse

#data, #message, #status_code

Instance Method Summary collapse

Methods inherited from BaseResponse

#get_data, #get_message, #get_status_code, #initialize, #ok?

Constructor Details

This class inherits a constructor from IletimerkeziSdk::Responses::BaseResponse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class IletimerkeziSdk::Responses::BaseResponse

Instance Attribute Details

#amountObject (readonly)

Returns the value of attribute amount.



4
5
6
# File 'lib/iletimerkezi_sdk/responses/account_response.rb', line 4

def amount
  @amount
end

#smsObject (readonly)

Returns the value of attribute sms.



4
5
6
# File 'lib/iletimerkezi_sdk/responses/account_response.rb', line 4

def sms
  @sms
end

Instance Method Details

#creditsObject



10
11
12
# File 'lib/iletimerkezi_sdk/responses/account_response.rb', line 10

def credits
  @sms
end