class Eucalyptus::Account

Public Class Methods

api_path() click to toggle source
# File lib/eucalyptus/account.rb, line 14
def self.api_path
  "adaccounts"
end
known_fields() click to toggle source
# File lib/eucalyptus/account.rb, line 5
def self.known_fields
  [
    :account_id,
    :account_status,
    :created_time,
    :name
  ]
end
parent() click to toggle source

‘me’ is a facebook helper which refers to the user who created the access token

there is no object which abstracts this, which is why we’re using a generic open struct that can response to id

# File lib/eucalyptus/account.rb, line 23
def self.parent
  OpenStruct.new(id: "me")
end