Module: Synapsis::APIOperations::Show

Included in:
Node, Transaction
Defined in:
lib/synapsis_v3/api_operations/show.rb

Instance Method Summary collapse

Instance Method Details

#show(params) ⇒ Object



2
3
4
5
# File 'lib/synapsis_v3/api_operations/show.rb', line 2

def show(params)
  response = show_request(params)
  return_response(response)
end

#show_request(params) ⇒ Object



7
8
9
# File 'lib/synapsis_v3/api_operations/show.rb', line 7

def show_request(params)
  request(:post, show_url, params)
end

#show_urlObject



11
12
13
# File 'lib/synapsis_v3/api_operations/show.rb', line 11

def show_url
  "#{API_V3_PATH}#{class_name}/show"
end