Module: Swagger::Shell::ApiPost

Defined in:
lib/swagger/shell/api_struct.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#post_api_infoObject

Returns the value of attribute post_api_info.



11
12
13
# File 'lib/swagger/shell/api_struct.rb', line 11

def post_api_info
  @post_api_info
end

Instance Method Details

#post(message = {}) ⇒ Object



12
13
14
# File 'lib/swagger/shell/api_struct.rb', line 12

def post(message = {})
  _post(api_url, message)
end