Sha256: ad8ceffb348bba8f9446f654ee38dd74f794e3d5268ccb479d96ef638628d979
Contents?: true
Size: 545 Bytes
Versions: 4
Compression:
Stored size: 545 Bytes
Contents
require_relative 'resource' module Eucalyptus class Account < Resource def self.known_fields [ :account_id, :account_status, :created_time, :name ] end def self.api_path "adaccounts" end # '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 def self.parent OpenStruct.new(id: "me") end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
eucalyptus-1.2.4 | lib/eucalyptus/account.rb |
eucalyptus-1.2.3 | lib/eucalyptus/account.rb |
eucalyptus-1.2.2 | lib/eucalyptus/account.rb |
eucalyptus-1.2.1 | lib/eucalyptus/account.rb |