Class: Stripe::V2::Core::RelatedObject
- Inherits:
-
Object
- Object
- Stripe::V2::Core::RelatedObject
- Defined in:
- lib/stripe/resources/v2/core/event_notification.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#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) ⇒ RelatedObject
constructor
A new instance of RelatedObject.
Constructor Details
#initialize(related_object) ⇒ RelatedObject
Returns a new instance of RelatedObject.
27 28 29 30 31 |
# File 'lib/stripe/resources/v2/core/event_notification.rb', line 27 def initialize() @id = [:id] @type = [:type] @url = [:url] end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
25 26 27 |
# File 'lib/stripe/resources/v2/core/event_notification.rb', line 25 def id @id end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
25 26 27 |
# File 'lib/stripe/resources/v2/core/event_notification.rb', line 25 def type @type end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
25 26 27 |
# File 'lib/stripe/resources/v2/core/event_notification.rb', line 25 def url @url end |