Class: Fulcrum::Project

Inherits:
Api
  • Object
show all
Defined in:
lib/fulcrum/project.rb

Constant Summary

Constants inherited from Api

Api::VALID_METHODS

Instance Attribute Summary

Attributes inherited from Api

#configuration, #connection, #response

Class Method Summary collapse

Methods inherited from Api

call, configuration, configure, connection, get_key, key, parse_opts, response, uri

Class Method Details

.all(opts = {}) ⇒ Object



6
7
8
9
# File 'lib/fulcrum/project.rb', line 6

def all(opts = {})
  params = parse_opts([:page, :updated_since], opts)
  call(:get, 'projects.json', params)
end