Class: Stripe::V2::Core::RelatedSingletonObject
- Inherits:
-
Object
- Object
- Stripe::V2::Core::RelatedSingletonObject
- Defined in:
- lib/stripe/resources/v2/core/event_notification.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(related_object) ⇒ RelatedSingletonObject
constructor
A new instance of RelatedSingletonObject.
Constructor Details
#initialize(related_object) ⇒ RelatedSingletonObject
Returns a new instance of RelatedSingletonObject.
37 38 39 40 |
# File 'lib/stripe/resources/v2/core/event_notification.rb', line 37 def initialize() @type = [:type] @url = [:url] end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
35 36 37 |
# File 'lib/stripe/resources/v2/core/event_notification.rb', line 35 def type @type end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
35 36 37 |
# File 'lib/stripe/resources/v2/core/event_notification.rb', line 35 def url @url end |