Module: Cafe24Sms::Configuration

Included in:
Cafe24Sms
Defined in:
lib/cafe24_sms/configuration.rb

Constant Summary collapse

SMS_URL =
"https://sslsms.cafe24.com/sms_sender.php"
SMS_REMAIN_URL =
"http://sslsms.cafe24.com/sms_remain.php"

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#secureObject

Returns the value of attribute secure.



6
7
8
# File 'lib/cafe24_sms/configuration.rb', line 6

def secure
  @secure
end

#sphone1Object

Returns the value of attribute sphone1.



6
7
8
# File 'lib/cafe24_sms/configuration.rb', line 6

def sphone1
  @sphone1
end

#sphone2Object

Returns the value of attribute sphone2.



6
7
8
# File 'lib/cafe24_sms/configuration.rb', line 6

def sphone2
  @sphone2
end

#sphone3Object

Returns the value of attribute sphone3.



6
7
8
# File 'lib/cafe24_sms/configuration.rb', line 6

def sphone3
  @sphone3
end

#user_idObject

Returns the value of attribute user_id.



6
7
8
# File 'lib/cafe24_sms/configuration.rb', line 6

def user_id
  @user_id
end

Instance Method Details

#configure {|_self| ... } ⇒ Object

Convenience method to allow configuration options to be set in a block

Yields:

  • (_self)

Yield Parameters:



9
10
11
# File 'lib/cafe24_sms/configuration.rb', line 9

def configure
  yield self
end