Class: Rafflesia::BillingCancelPendingSwitchRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::BillingCancelPendingSwitchRequest
- 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
-
#organization_id ⇒ Object
Returns the value of attribute organization_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ BillingCancelPendingSwitchRequest
constructor
A new instance of BillingCancelPendingSwitchRequest.
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_id ⇒ Object
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 |