class FbResource::Config

Public Class Methods

build() click to toggle source
# File lib/config.rb, line 9
def self.build
  # Set defaults
  self
    .new
    .tap {|obj| obj.url = 'http://localhost:3000'}
end

Public Instance Methods

http_headers() click to toggle source
# File lib/config.rb, line 5
def http_headers
  { Authorization: self.token }
end