Method: Tenk::Projects::BillRates#create

Defined in:
lib/projects/bill_rates.rb

#create(project_id, opts = {}) ⇒ Hashie::Mash

Create a new BillRate for this project

Parameters:

  • project_id (Integer)

    the id of the project

  • opts (Hash) (defaults to: {})

    the post parameters to add to the create request

Returns:

  • (Hashie::Mash)

    the API response as a Hashie::Mash

See Also:



38
39
40
# File 'lib/projects/bill_rates.rb', line 38

def create(project_id, opts = {})
  super(project_id, CreateRequest.new(opts))
end