Class: Eloqua::Asset

Inherits:
RemoteObject show all
Defined in:
lib/eloqua/asset.rb

Constant Summary

Constants inherited from RemoteObject

RemoteObject::DIRTY_PRIVATE_METHODS

Instance Attribute Summary

Attributes inherited from RemoteObject

#attributes

Instance Method Summary collapse

Methods inherited from RemoteObject

api, attr_checkbox, attr_type_hash, #changed_attributes, #convert_attribute_values, #create, find, #id, #initialize, #is_attribute_method?, #method_missing, #persisted?, #read_attribute, #reload, #respond_to?, #save, #update, #update_attributes, #write_attribute

Constructor Details

This class inherits a constructor from Eloqua::RemoteObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Eloqua::RemoteObject

Instance Method Details

#add_member(entity) ⇒ Object



9
10
11
# File 'lib/eloqua/asset.rb', line 9

def add_member(entity)
  member_operation(:add_group_member, entity)
end

#remove_member(entity) ⇒ Object



13
14
15
# File 'lib/eloqua/asset.rb', line 13

def remove_member(entity)
  member_operation(:remove_group_member, entity)
end