Class: Moneybird::Resource::Webhook
- Inherits:
-
Object
- Object
- Moneybird::Resource::Webhook
- Extended by:
- ClassMethods
- Includes:
- Moneybird::Resource
- Defined in:
- lib/moneybird/resource/webhook.rb
Instance Attribute Summary
Attributes included from ClassMethods
#attributes, #logger, #nillable_attributes
Attributes included from Moneybird::Resource
Instance Method Summary collapse
Methods included from ClassMethods
build, has_attributes, has_boolean_attributes, has_datetime_attributes, has_integer_attributes, has_nillable_attributes, resource
Methods included from Moneybird::Resource
#attributes, #attributes=, #custom_fields=, #initialize, #link_booking, #path, #persisted?
Instance Method Details
#to_json ⇒ Object
16 17 18 |
# File 'lib/moneybird/resource/webhook.rb', line 16 def to_json JSON.generate(attributes.as_json) end |