Class: Etsy4r::ServerCommands
Instance Attribute Summary
Attributes inherited from Commands
#client
Instance Method Summary
collapse
Methods inherited from Commands
#initialize
Instance Method Details
#get_method_table ⇒ Object
4
5
6
|
# File 'lib/etsy4r/server_commands.rb', line 4
def get_method_table
@client.process('/')
end
|
#get_server_epoch ⇒ Object
12
13
14
|
# File 'lib/etsy4r/server_commands.rb', line 12
def get_server_epoch
@client.process('/server/epoch')
end
|
#ping ⇒ Object
8
9
10
|
# File 'lib/etsy4r/server_commands.rb', line 8
def ping
@client.process('/server/ping')
end
|