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
-
#secure ⇒ Object
Returns the value of attribute secure.
-
#sphone1 ⇒ Object
Returns the value of attribute sphone1.
-
#sphone2 ⇒ Object
Returns the value of attribute sphone2.
-
#sphone3 ⇒ Object
Returns the value of attribute sphone3.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
Instance Method Summary collapse
-
#configure {|_self| ... } ⇒ Object
Convenience method to allow configuration options to be set in a block.
Instance Attribute Details
#secure ⇒ Object
Returns the value of attribute secure.
6 7 8 |
# File 'lib/cafe24_sms/configuration.rb', line 6 def secure @secure end |
#sphone1 ⇒ Object
Returns the value of attribute sphone1.
6 7 8 |
# File 'lib/cafe24_sms/configuration.rb', line 6 def sphone1 @sphone1 end |
#sphone2 ⇒ Object
Returns the value of attribute sphone2.
6 7 8 |
# File 'lib/cafe24_sms/configuration.rb', line 6 def sphone2 @sphone2 end |
#sphone3 ⇒ Object
Returns the value of attribute sphone3.
6 7 8 |
# File 'lib/cafe24_sms/configuration.rb', line 6 def sphone3 @sphone3 end |
#user_id ⇒ Object
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
9 10 11 |
# File 'lib/cafe24_sms/configuration.rb', line 9 def configure yield self end |