Class: Splinter::OOOTypes
- Inherits:
-
API
- Object
- API
- Splinter::OOOTypes
show all
- Defined in:
- lib/splinter/ooo_types.rb
Constant Summary
Constants inherited
from API
API::BASE_URL
Class Method Summary
collapse
Methods inherited from API
build_url, get, headers, paginated_get
Class Method Details
.find(type_id) ⇒ Object
9
10
11
|
# File 'lib/splinter/ooo_types.rb', line 9
def self.find(type_id)
get("ooo_types/#{type_id}")
end
|
.get_all(params = {}) ⇒ Object
5
6
7
|
# File 'lib/splinter/ooo_types.rb', line 5
def self.get_all(params = {})
paginated_get('ooo_types', params)
end
|