Class: VmoboSchema::Request

Inherits:
Object
  • Object
show all
Defined in:
lib/splat/vendors/vmobo/xml/schema.rb

Overview

{}request

Constant Summary collapse

@@schema_type =
"request"
@@schema_ns =
nil
@@schema_element =
[["user", "SOAP::SOAPString"], ["app_id", "SOAP::SOAPString"], ["message", "SOAP::SOAPString"], ["keyword", "SOAP::SOAPString"], ["recipients", "Recipients"]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(user = nil, app_id = nil, message = nil, keyword = nil, recipients = nil) ⇒ Request

Returns a new instance of Request.



52
53
54
55
56
57
58
# File 'lib/splat/vendors/vmobo/xml/schema.rb', line 52

def initialize(user = nil, app_id = nil, message = nil, keyword = nil, recipients = nil)
  @user = user
  @app_id = app_id
  @message = message
  @keyword = keyword
  @recipients = recipients
end

Instance Attribute Details

#app_idObject

Returns the value of attribute app_id.



47
48
49
# File 'lib/splat/vendors/vmobo/xml/schema.rb', line 47

def app_id
  @app_id
end

#keywordObject

Returns the value of attribute keyword.



49
50
51
# File 'lib/splat/vendors/vmobo/xml/schema.rb', line 49

def keyword
  @keyword
end

#messageObject

Returns the value of attribute message.



48
49
50
# File 'lib/splat/vendors/vmobo/xml/schema.rb', line 48

def message
  @message
end

#recipientsObject

Returns the value of attribute recipients.



50
51
52
# File 'lib/splat/vendors/vmobo/xml/schema.rb', line 50

def recipients
  @recipients
end

#userObject

Returns the value of attribute user.



46
47
48
# File 'lib/splat/vendors/vmobo/xml/schema.rb', line 46

def user
  @user
end