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

Instance Method Details

#base_pathObject



3
4
5
# File 'lib/tokyo_api/expire.rb', line 3

def base_path
  'expire'
end

#organisation(host) ⇒ Object



7
8
9
# File 'lib/tokyo_api/expire.rb', line 7

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