Class: ActionKitRest::List
- Inherits:
-
Base
- Object
- Vertebrae::Model
- Base
- ActionKitRest::List
show all
- Defined in:
- lib/action_kit_rest/list.rb
Instance Method Summary
collapse
Methods inherited from Base
#create, #get, #list, #normalized_base_path, #update
Instance Method Details
#base_path ⇒ Object
5
6
7
|
# File 'lib/action_kit_rest/list.rb', line 5
def base_path
'list'
end
|
#find(name) ⇒ Object
9
10
11
12
|
# File 'lib/action_kit_rest/list.rb', line 9
def find(name)
response = list(name: name)
response.obj.first
end
|