Class: Drip::Subscriber

Inherits:
Resource show all
Defined in:
lib/drip/resources/subscriber.rb

Instance Attribute Summary

Attributes inherited from Resource

#attributes, #raw_attributes

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Resource

#initialize, #method_missing, #respond_to?, #singular?

Constructor Details

This class inherits a constructor from Drip::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Drip::Resource

Class Method Details

.resource_nameObject



6
7
8
# File 'lib/drip/resources/subscriber.rb', line 6

def self.resource_name
  "subscriber"
end

Instance Method Details

#attribute_keysObject



10
11
12
13
# File 'lib/drip/resources/subscriber.rb', line 10

def attribute_keys
  %i{id status email custom_fields tags time_zone
    utc_offset visitor_uuid created_at href}
end