Module: MicroCMS

Extended by:
Forwardable
Defined in:
lib/microcms.rb,
lib/microcms/version.rb

Overview

MicroCMS

Defined Under Namespace

Modules: HttpUtil Classes: APIError, Client

Constant Summary collapse

VERSION =
'1.2.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_keyObject

Returns the value of attribute api_key.



14
15
16
# File 'lib/microcms.rb', line 14

def api_key
  @api_key
end

.service_domainObject

Returns the value of attribute service_domain.



14
15
16
# File 'lib/microcms.rb', line 14

def service_domain
  @service_domain
end

Class Method Details

.clientObject



18
19
20
# File 'lib/microcms.rb', line 18

def client
  Client.new(@service_domain, @api_key)
end