Class: Allorails::Keyword

Inherits:
Base show all
Defined in:
lib/allorails/response/model.rb

Overview

Class providing object mapping of a keyword item

Instance Attribute Summary

Attributes inherited from Response::ApiMappingResponse

#xml

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods inherited from Response::ApiMappingResponse

#_verify, attribute_reader, #initialize, node_reader

Methods inherited from Response::ApiResponse

#_verify, #initialize

Constructor Details

This class inherits a constructor from Allorails::Base

Instance Method Details

#descriptionObject

Provides a description of the keyword

@return (string) description


179
# File 'lib/allorails/response/model.rb', line 179

node_reader :description

#nameObject

Provides the keyword name

@return (string) keyword name


163
# File 'lib/allorails/response/model.rb', line 163

attribute_reader :name

#number_billed_messagesObject

Provides the number of billed messages of the keyword

@return (int) number of billed messages


175
# File 'lib/allorails/response/model.rb', line 175

attribute_reader :number_billed_messages, Integer

#operatorsObject

Provides the keyword operators

@return (string) keyword operators


171
# File 'lib/allorails/response/model.rb', line 171

attribute_reader :operators

#shortcodeObject

Provides the keyword’s shortcode

@return (string) shortcode


167
# File 'lib/allorails/response/model.rb', line 167

attribute_reader :shortcode