Class: TokyoApi::Expire

Inherits:
Base
  • Object
show all
Defined in:
lib/tokyo_api/expire.rb

Instance Method Summary collapse

Methods inherited from Base

#normalized_base_path, #required_fields_param, #url_escape

Instance Method Details

#base_pathObject



5
6
7
# File 'lib/tokyo_api/expire.rb', line 5

def base_path
  'expire'
end

#organisation(host) ⇒ Object



9
10
11
# File 'lib/tokyo_api/expire.rb', line 9

def organisation(host)
  client.get_request("#{normalized_base_path}organisation/#{url_escape(host)}").body
end