Class: Kintone::Command::Apis
Class Method Summary
collapse
Instance Method Summary
collapse
#initialize
Class Method Details
4
5
6
|
# File 'lib/kintone/command/apis.rb', line 4
def self.path
'apis'
end
|
Instance Method Details
8
9
10
|
# File 'lib/kintone/command/apis.rb', line 8
def get
@api.get(@url)
end
|
#get_details_of(link) ⇒ Object
12
13
14
15
|
# File 'lib/kintone/command/apis.rb', line 12
def get_details_of(link)
url = Kintone::Api::BASE_PATH + link
@api.get(url)
end
|
#get_details_of_key(key) ⇒ Object
17
18
19
20
21
|
# File 'lib/kintone/command/apis.rb', line 17
def get_details_of_key(key)
response = get
link = response['apis'][key]['link']
get_details_of(link)
end
|