Method: Megam::API#get_billing

Defined in:
lib/megam/api/billings.rb

#get_billing(id) ⇒ Object



28
29
30
31
32
33
34
35
36
# File 'lib/megam/api/billings.rb', line 28

def get_billing(id)
  @options = {:path => "/billings/#{id}",:body => ""}.merge(@options)

  request(
    :expects  => 200,
    :method   => :get,
    :body     => @options[:body]
  )
end