Module: Suc
- Defined in:
- lib/suc.rb,
lib/reports/email.rb,
lib/reports/personal.rb
Defined Under Namespace
Modules: Reports Classes: Mc, Message
Constant Summary collapse
- DEFAULT_URL =
ENV['SUFLOW_URL'] || 'http://localhost:3000'
Class Attribute Summary collapse
-
.access_token ⇒ Object
Returns the value of attribute access_token.
-
.email_cc_recipients ⇒ Object
Returns the value of attribute email_cc_recipients.
-
.email_client ⇒ Object
Returns the value of attribute email_client.
-
.email_recipients ⇒ Object
Returns the value of attribute email_recipients.
Class Method Summary collapse
Class Attribute Details
.access_token ⇒ Object
Returns the value of attribute access_token.
16 17 18 |
# File 'lib/suc.rb', line 16 def access_token @access_token end |
.email_cc_recipients ⇒ Object
Returns the value of attribute email_cc_recipients.
16 17 18 |
# File 'lib/suc.rb', line 16 def email_cc_recipients @email_cc_recipients end |
.email_client ⇒ Object
Returns the value of attribute email_client.
16 17 18 |
# File 'lib/suc.rb', line 16 def email_client @email_client end |
.email_recipients ⇒ Object
Returns the value of attribute email_recipients.
16 17 18 |
# File 'lib/suc.rb', line 16 def email_recipients @email_recipients end |
Class Method Details
.resource_url(resource) ⇒ Object
22 23 24 |
# File 'lib/suc.rb', line 22 def resource_url(resource) URI.join(DEFAULT_URL, resource) end |
.token_auth ⇒ Object
18 19 20 |
# File 'lib/suc.rb', line 18 def token_auth "Token #{access_token}" end |