Class: Moip2::Resource::Webhooks
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Moip2::Resource::Webhooks
- Defined in:
- lib/moip2/resource/webhooks.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize(client, response) ⇒ Webhooks
constructor
A new instance of Webhooks.
Constructor Details
#initialize(client, response) ⇒ Webhooks
Returns a new instance of Webhooks.
6 7 8 9 |
# File 'lib/moip2/resource/webhooks.rb', line 6 def initialize(client, response) super(response) @client = client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
4 5 6 |
# File 'lib/moip2/resource/webhooks.rb', line 4 def client @client end |