Class: Adparlor::Facebook::GraphApi::ProductAudience
- Inherits:
-
GraphObject
- Object
- GraphObject
- Adparlor::Facebook::GraphApi::ProductAudience
- Includes:
- Fields::ProductAudience, Traits::Methods
- Defined in:
- lib/adparlor/facebook/graph_api/product_audience.rb
Constant Summary
Constants included from Fields::ProductAudience
Fields::ProductAudience::CREATE_FIELDS, Fields::ProductAudience::FIELDS
Constants included from Fields::FieldDecorator
Fields::FieldDecorator::GLOBAL_FIELDS
Instance Attribute Summary
Attributes inherited from GraphObject
Instance Method Summary collapse
Methods included from Traits::Methods
#create, #destroy, included, #update
Methods inherited from GraphObject
#batch, create, #create, data_pass_through, destroy, #destroy, get, #initialize, parse_data_for_collection, read, respond_for_data, #to_hash, #to_json, update, #update
Methods included from Api
#base_uri, #conn, #conn_multi, #delete, #get, #post, #proxy_api_key
Methods included from Fields::FieldDecorator
Constructor Details
This class inherits a constructor from Adparlor::Facebook::GraphApi::GraphObject
Instance Method Details
#path ⇒ Object
10 11 12 13 |
# File 'lib/adparlor/facebook/graph_api/product_audience.rb', line 10 def path raise FbError.new('required parameter account_id missing', 500) unless account_id "/act_#{account_id}/product_audiences" end |