Module: Alet

Defined in:
lib/alet.rb,
lib/alet/app.rb,
lib/alet/config.rb,
lib/alet/project.rb,
lib/alet/version.rb

Defined Under Namespace

Modules: Project Classes: App, Config

Constant Summary collapse

VERSION =
'0.2.0'

Class Method Summary collapse

Class Method Details

.configObject



4
5
6
# File 'lib/alet.rb', line 4

def self.config
  @config ||= Config.new
end

.describe(object_type) ⇒ Object



20
21
22
# File 'lib/alet.rb', line 20

def self.describe(object_type)
  rest_client.describe object_type
end

.describe_globalObject



16
17
18
# File 'lib/alet.rb', line 16

def self.describe_global
  @describe_global ||= rest_client.describe_global
end

.rest_clientObject



8
9
10
# File 'lib/alet.rb', line 8

def self.rest_client
  @rest_client
end

.rest_client=(client) ⇒ Object



12
13
14
# File 'lib/alet.rb', line 12

def self.rest_client=(client)
  @rest_client = client
end