Class: Txyun::Sms::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/txyun/sms.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



8
9
10
11
12
13
14
15
16
# File 'lib/txyun/sms.rb', line 8

def initialize
  @nationcode = ''
  @sign = ''
  @time = ''
  @extend_code = ''
  @ext = ''
  @appkey = ''
  @sdkappid = ''
end

Instance Attribute Details

#appkeyObject

Returns the value of attribute appkey.



6
7
8
# File 'lib/txyun/sms.rb', line 6

def appkey
  @appkey
end

#extObject

Returns the value of attribute ext.



6
7
8
# File 'lib/txyun/sms.rb', line 6

def ext
  @ext
end

#extend_codeObject

Returns the value of attribute extend_code.



6
7
8
# File 'lib/txyun/sms.rb', line 6

def extend_code
  @extend_code
end

#nationcodeObject

Returns the value of attribute nationcode.



6
7
8
# File 'lib/txyun/sms.rb', line 6

def nationcode
  @nationcode
end

#sdkappidObject

Returns the value of attribute sdkappid.



6
7
8
# File 'lib/txyun/sms.rb', line 6

def sdkappid
  @sdkappid
end

#signObject

Returns the value of attribute sign.



6
7
8
# File 'lib/txyun/sms.rb', line 6

def sign
  @sign
end

#timeObject

Returns the value of attribute time.



6
7
8
# File 'lib/txyun/sms.rb', line 6

def time
  @time
end