Class: Payrix::Resource::BillingEvents
- Defined in:
- lib/payrix/resource/billing_events.rb
Constant Summary collapse
- ATTRS =
[:id, :created, :modified, :creator, :modifier, :billing, :event, :eventSchedule, :deductFromBalance, :inactive, :frozen]
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(params) ⇒ BillingEvents
constructor
A new instance of BillingEvents.
Methods inherited from Base
#create, #delete, #details, #has_errors?, #has_more?, #request_options, #request_options=, #response, #retrieve, #set, #status, #to_json, #totals, #update
Constructor Details
#initialize(params) ⇒ BillingEvents
Returns a new instance of BillingEvents.
5 6 7 8 9 |
# File 'lib/payrix/resource/billing_events.rb', line 5 def initialize(params) super(params, ATTRS) @resource_name = 'billingEvents' end |