Class: ActionKitRest::AllowedUserField

Inherits:
Base
  • Object
show all
Defined in:
lib/action_kit_rest/allowed_user_field.rb

Instance Method Summary collapse

Methods inherited from Base

#create, #get, #list, #normalized_base_path, #update

Instance Method Details

#base_pathObject



5
6
7
# File 'lib/action_kit_rest/allowed_user_field.rb', line 5

def base_path
  'alloweduserfield'
end

#find(name) ⇒ Object



9
10
11
12
# File 'lib/action_kit_rest/allowed_user_field.rb', line 9

def find(name)
  response = list(name: name)
  response.obj.first
end