Class: Hubspot::Configuration
- Inherits:
-
Object
- Object
- Hubspot::Configuration
- Defined in:
- lib/hubspot.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#hapikey ⇒ Object
Returns the value of attribute hapikey.
-
#password ⇒ Object
Returns the value of attribute password.
-
#port ⇒ Object
Returns the value of attribute port.
-
#user_name ⇒ Object
Returns the value of attribute user_name.
Instance Method Summary collapse
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address.
29 30 31 |
# File 'lib/hubspot.rb', line 29 def address @address end |
#hapikey ⇒ Object
Returns the value of attribute hapikey.
29 30 31 |
# File 'lib/hubspot.rb', line 29 def hapikey @hapikey end |
#password ⇒ Object
Returns the value of attribute password.
29 30 31 |
# File 'lib/hubspot.rb', line 29 def password @password end |
#port ⇒ Object
Returns the value of attribute port.
29 30 31 |
# File 'lib/hubspot.rb', line 29 def port @port end |
#user_name ⇒ Object
Returns the value of attribute user_name.
29 30 31 |
# File 'lib/hubspot.rb', line 29 def user_name @user_name end |
Instance Method Details
#hubspot? ⇒ Boolean
31 32 33 |
# File 'lib/hubspot.rb', line 31 def hubspot? ActionMailer::Base.delivery_method == :hubspot end |
#hubspot_transaction_email? ⇒ Boolean
35 36 37 |
# File 'lib/hubspot.rb', line 35 def hubspot_transaction_email? ActionMailer::Base.delivery_method == :hubspot_transaction_email end |