Module: Cuenote::Api

Defined in:
lib/cuenote/api/version.rb,
lib/cuenote/api/connection.rb,
lib/cuenote/api/address_book.rb,
lib/cuenote/api/command.rb,
lib/cuenote/api/address.rb,
lib/cuenote/api/result.rb,
lib/cuenote/api/import.rb,
lib/cuenote/api/config.rb,
lib/cuenote/api/node.rb,
lib/cuenote/api/base.rb

Defined Under Namespace

Classes: Address, AddressBook, Base, Command, Config, Connection, Import, Node, Result

Constant Summary collapse

VERSION =
"0.1.0"
CONFIG_DEFAULT =
{
  endpoint: "http://asp.cuenote.jp/api/fcio.cgi"
}.freeze

Class Method Summary collapse

Class Method Details

.configObject



28
29
30
# File 'lib/cuenote/api/config.rb', line 28

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

.configure(&block) ⇒ Object



32
33
34
# File 'lib/cuenote/api/config.rb', line 32

def self.configure &block
  block.call config
end