class PolyglotFlutter::Resource::Base

Public Class Methods

depaginate(opts = {}) click to toggle source
# File lib/flutter_polyglot_cli/api/base.rb, line 13
def self.depaginate(opts = {})
  depaginate_query(where(opts))
end
token(token) click to toggle source
# File lib/flutter_polyglot_cli/api/base.rb, line 8
def self.token(token)
  self.connection_options = { headers: { 'X-Auth-Token' => token } }
  self
end