Sha256: 1bfc6773498ff143a24fd8785c00113f72d4e43777ee329e541ba317ed2f1eb3

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 KB

Contents

require 'faraday'
require 'json'
require 'time'

module Datacentred
  require_relative 'datacentred/response'
  require_relative 'datacentred/error'
  require_relative 'datacentred/model/user'
  require_relative 'datacentred/model/project'
  require_relative 'datacentred/model/role'
  require_relative 'datacentred/model/usage'
  require_relative 'datacentred/model/version'
  require_relative 'datacentred/request/base'
  require_relative 'datacentred/request/projects'
  require_relative 'datacentred/request/users'
  require_relative 'datacentred/request/roles'
  require_relative 'datacentred/request/usage'
  require_relative 'datacentred/request/versions'

  def self.access_key
    @@access_key ||= ENV['DATACENTRED_ACCESS']
  end

  def self.access_key=(val)
    @@access_key = val
  end

  def self.secret_key
    @@secret_key ||= ENV['DATACENTRED_SECRET']
  end

  def self.secret_key=(val)
    @@secret_key = val
  end

  User = Model::User
  Project = Model::Project
  Role = Model::Role
  Usage = Model::Usage
  Version = Model::Version
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datacentred-0.1.1pre lib/datacentred.rb