Class: BMC::SMS::ApplicationSMS
- Inherits:
-
Object
- Object
- BMC::SMS::ApplicationSMS
- Defined in:
- app/sms/bmc/sms/application_sms.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options) ⇒ ApplicationSMS
constructor
A new instance of ApplicationSMS.
Constructor Details
#initialize(options) ⇒ ApplicationSMS
Returns a new instance of ApplicationSMS.
4 5 6 |
# File 'app/sms/bmc/sms/application_sms.rb', line 4 def initialize() @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
2 3 4 |
# File 'app/sms/bmc/sms/application_sms.rb', line 2 def @options end |
Class Method Details
.method_missing(m) ⇒ Object
30 31 32 33 34 35 36 |
# File 'app/sms/bmc/sms/application_sms.rb', line 30 def method_missing(m, ...) if respond_to_missing?(m) new(action_name: m).public_send(m, ...) else super end end |
.respond_to_missing?(m, include_private = false) ⇒ Boolean
38 39 40 |
# File 'app/sms/bmc/sms/application_sms.rb', line 38 def respond_to_missing?(m, include_private = false) super || public_instance_methods.include?(m) end |