Module: GrandCloud

Defined in:
lib/grandcloud.rb,
lib/grand_cloud/base.rb,
lib/grand_cloud/video.rb,
lib/grand_cloud/version.rb,
lib/grand_cloud/exceptions.rb,
lib/grand_cloud/authentication.rb

Defined Under Namespace

Modules: Base, Error Classes: Authentication, Video

Constant Summary collapse

DEFAULT_HOST_URL =
"api.ku6vms.com"
VERSION =
'0.1.7'

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#loggerObject (readonly)

Returns the value of attribute logger.



27
28
29
# File 'lib/grandcloud.rb', line 27

def logger
  @logger
end

#noriObject (readonly)

Returns the value of attribute nori.



27
28
29
# File 'lib/grandcloud.rb', line 27

def nori
  @nori
end

Class Method Details

.loggerObject



29
30
31
# File 'lib/grandcloud.rb', line 29

def self.logger
  @logger || (@logger = Logger.new(STDOUT))
end

.noriObject



33
34
35
# File 'lib/grandcloud.rb', line 33

def self.nori
  @nori || Nori.new
end