Class: Api::Dimass::Operations::Classification

Inherits:
Base
  • Object
show all
Defined in:
app/services/api/dimass/operations/classification.rb

Constant Summary collapse

PATH =
"/papi/classification/1.0"
NAMESPACE =
"ns1"
WSDL =
"v1/classification"

Instance Attribute Summary

Attributes inherited from Base

#api_key, #api_secret, #api_url, #endpoint_url, #namespace, #wsdl, #wsdl_content

Instance Method Summary collapse

Methods inherited from Base

#authenticated_endpoint_url, #client, #nonce, #operations, #refresh_wsdl, #retrieve_wsdl_content, #signature_params, #timestamp, #wsdl_local_path

Constructor Details

#initializeClassification

Returns a new instance of Classification.



8
9
10
# File 'app/services/api/dimass/operations/classification.rb', line 8

def initialize
  super(PATH, NAMESPACE, WSDL)
end

Instance Method Details

#get_classificationsObject

This returns a 500 right now, not sure why



13
14
15
# File 'app/services/api/dimass/operations/classification.rb', line 13

def get_classifications
  client.call(:get_classifications)
end