Class: Rafflesia::BillingCancelPendingSwitchRequest

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/rafflesia/billing/billing_cancel_pending_switch_request.rb

Constant Summary collapse

HASH_ATTRS =
{
  organization_id: :organization_id
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ BillingCancelPendingSwitchRequest

Returns a new instance of BillingCancelPendingSwitchRequest.



14
15
16
17
18
# File 'lib/rafflesia/billing/billing_cancel_pending_switch_request.rb', line 14

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @organization_id = hash[:organization_id]
end

Instance Attribute Details

#organization_idObject

Returns the value of attribute organization_id.



12
13
14
# File 'lib/rafflesia/billing/billing_cancel_pending_switch_request.rb', line 12

def organization_id
  @organization_id
end