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

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

Overview

Service object: classification.

Constant Summary collapse

PATH =

Path.

"/papi/classification/1.0".freeze
NAMESPACE =

Namespace.

"ns1".freeze
WSDL =

Wsdl.

"v1/classification".freeze

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.



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

def initialize
  super(PATH, NAMESPACE, WSDL)
end

Instance Method Details

#get_classificationsObject

This returns a 500 right now, not sure why



17
18
19
# File 'app/services/api/dimass/operations/classification.rb', line 17

def get_classifications
  client.call(:get_classifications)
end