Class: ET::GetSupport
- Inherits:
-
BaseObject
- Object
- BaseObject
- ET::GetSupport
- Defined in:
- lib/exact-target-api/get_support.rb
Direct Known Subclasses
BounceEvent, CUDSupport, ClickEvent, DataExtension::Column, List::Subscriber, OpenEvent, SentEvent, UnsubEvent
Instance Attribute Summary collapse
-
#filter ⇒ Object
Returns the value of attribute filter.
Attributes inherited from BaseObject
#client, #endpoint, #lastRequestID, #obj, #props
Instance Method Summary collapse
- #get(data = nil, filter = nil) ⇒ Object
- #getMoreResults ⇒ Object
- #info ⇒ Object
-
#initialize ⇒ GetSupport
constructor
A new instance of GetSupport.
Methods inherited from BaseObject
#stringify_keys!, #symbolize_keys!
Constructor Details
#initialize ⇒ GetSupport
Returns a new instance of GetSupport.
5 6 7 |
# File 'lib/exact-target-api/get_support.rb', line 5 def initialize super end |
Instance Attribute Details
#filter ⇒ Object
Returns the value of attribute filter.
3 4 5 |
# File 'lib/exact-target-api/get_support.rb', line 3 def filter @filter end |
Instance Method Details
#get(data = nil, filter = nil) ⇒ Object
9 10 11 12 13 |
# File 'lib/exact-target-api/get_support.rb', line 9 def get(data = nil, filter = nil) obj = ET::Get.new(@client, @obj, data, filter) @lastRequestID = obj.request_id obj end |
#getMoreResults ⇒ Object
19 20 21 |
# File 'lib/exact-target-api/get_support.rb', line 19 def getMoreResults ET::Continue.new(@client, @lastRequestID) end |
#info ⇒ Object
15 16 17 |
# File 'lib/exact-target-api/get_support.rb', line 15 def info ET::Describe.new(@client, @obj) end |