Module: Pushwoosh::Configurable
Instance Attribute Summary collapse
-
#application ⇒ Object
Returns the value of attribute application.
-
#auth ⇒ Object
Returns the value of attribute auth.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#application ⇒ Object
Returns the value of attribute application.
8 9 10 |
# File 'lib/pushwoosh/configurable.rb', line 8 def application @application end |
#auth ⇒ Object
Returns the value of attribute auth.
8 9 10 |
# File 'lib/pushwoosh/configurable.rb', line 8 def auth @auth end |
Class Method Details
.keys ⇒ Object
14 15 16 17 18 19 |
# File 'lib/pushwoosh/configurable.rb', line 14 def keys @keys ||= [ :application, :auth, ] end |
Instance Method Details
#configure {|_self| ... } ⇒ Object
23 24 25 26 27 |
# File 'lib/pushwoosh/configurable.rb', line 23 def configure yield self validate_credential_type! self end |