Module: Jung::Drivers::Mailchimp
- Defined in:
- lib/jung/drivers/mailchimp.rb
Defined Under Namespace
Modules: Campaign, List Classes: Api
Instance Attribute Summary collapse
-
#api ⇒ Object
Returns the value of attribute api.
-
#gb ⇒ Object
Returns the value of attribute gb.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#list_id ⇒ Object
Returns the value of attribute list_id.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#api ⇒ Object
Returns the value of attribute api.
7 8 9 |
# File 'lib/jung/drivers/mailchimp.rb', line 7 def api @api end |
#gb ⇒ Object
Returns the value of attribute gb.
7 8 9 |
# File 'lib/jung/drivers/mailchimp.rb', line 7 def gb @gb end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
7 8 9 |
# File 'lib/jung/drivers/mailchimp.rb', line 7 def id @id end |
#list_id ⇒ Object
Returns the value of attribute list_id.
7 8 9 |
# File 'lib/jung/drivers/mailchimp.rb', line 7 def list_id @list_id end |
Class Method Details
.extended(base) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/jung/drivers/mailchimp.rb', line 10 def self.extended(base) base.extend Jung::Drivers::Mailchimp::List base.extend Jung::Drivers::Mailchimp::Campaign if base.class == Jung::Campaign base.list_id = base.config.[:list_id] base.api = Api.new base.config end |
Instance Method Details
#errors ⇒ Object
18 19 20 |
# File 'lib/jung/drivers/mailchimp.rb', line 18 def errors api.errors end |