Class: Tenk::BillRates

Inherits:
Resource show all
Defined in:
lib/bill_rates.rb

Overview

The API methods for obtaining and manipulating bill rats

Defined Under Namespace

Classes: CreateRequest, GetRequest, ListRequest, UpdateRequest

Instance Method Summary collapse

Methods inherited from Resource

#create, #get, #initialize, #list, #resource_root

Constructor Details

This class inherits a constructor from Tenk::Resource

Instance Method Details

#update(id, opts = {}) ⇒ Hashie::Mash

Update a BillRate for this 10k account

Parameters:

  • id (Integer)

    the id of the bill rate

Returns:

  • (Hashie::Mash)

    the API response as a Hashie::Mash

See Also:



53
54
55
# File 'lib/bill_rates.rb', line 53

def update(id, opts = {})
  super(id, UpdateRequest.new(opts))
end