Class: Billingrails::BillerNamespace
- Inherits:
-
Object
- Object
- Billingrails::BillerNamespace
- Defined in:
- lib/billingrails/client.rb
Overview
Nested namespace for biller resources
Instance Attribute Summary collapse
-
#events ⇒ Object
readonly
Returns the value of attribute events.
-
#meters ⇒ Object
readonly
Returns the value of attribute meters.
-
#plans ⇒ Object
readonly
Returns the value of attribute plans.
-
#subscriptions ⇒ Object
readonly
Returns the value of attribute subscriptions.
Instance Method Summary collapse
-
#initialize(client) ⇒ BillerNamespace
constructor
A new instance of BillerNamespace.
Constructor Details
#initialize(client) ⇒ BillerNamespace
Returns a new instance of BillerNamespace.
12 13 14 15 16 17 |
# File 'lib/billingrails/client.rb', line 12 def initialize(client) @events = Resources::Events.new(client) @meters = Resources::Meters.new(client) @plans = Resources::Plans.new(client) @subscriptions = Resources::Subscriptions.new(client) end |
Instance Attribute Details
#events ⇒ Object (readonly)
Returns the value of attribute events.
10 11 12 |
# File 'lib/billingrails/client.rb', line 10 def events @events end |
#meters ⇒ Object (readonly)
Returns the value of attribute meters.
10 11 12 |
# File 'lib/billingrails/client.rb', line 10 def meters @meters end |
#plans ⇒ Object (readonly)
Returns the value of attribute plans.
10 11 12 |
# File 'lib/billingrails/client.rb', line 10 def plans @plans end |
#subscriptions ⇒ Object (readonly)
Returns the value of attribute subscriptions.
10 11 12 |
# File 'lib/billingrails/client.rb', line 10 def subscriptions @subscriptions end |