Class: Billingrails::BillerNamespace

Inherits:
Object
  • Object
show all
Defined in:
lib/billingrails/client.rb

Overview

Nested namespace for biller resources

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#eventsObject (readonly)

Returns the value of attribute events.



10
11
12
# File 'lib/billingrails/client.rb', line 10

def events
  @events
end

#metersObject (readonly)

Returns the value of attribute meters.



10
11
12
# File 'lib/billingrails/client.rb', line 10

def meters
  @meters
end

#plansObject (readonly)

Returns the value of attribute plans.



10
11
12
# File 'lib/billingrails/client.rb', line 10

def plans
  @plans
end

#subscriptionsObject (readonly)

Returns the value of attribute subscriptions.



10
11
12
# File 'lib/billingrails/client.rb', line 10

def subscriptions
  @subscriptions
end