Class: Kiji::Client

Inherits:
Object
  • Object
show all
Includes:
API
Defined in:
lib/kiji/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Access

#amendapply, #amends, #apply, #arrived_applications, #banks, #comment, #done_comment, #done_officialdocument, #notices, #officialdocument, #partamend, #payments, #reamend, #reference, #sended_applications_by_date, #sended_applications_by_id, #verify_officialdocument, #withdraw

Methods included from Authentication

#append_certificate, #delete_certificate, #login, #register, #update_certificate

Constructor Details

#initialize {|_self| ... } ⇒ Client

Returns a new instance of Client.

Yields:

  • (_self)

Yield Parameters:

  • _self (Kiji::Client)

    the object that the method was called on



12
13
14
15
16
17
18
19
# File 'lib/kiji/client.rb', line 12

def initialize
  @software_id = software_id
  @api_end_point = api_end_point
  @basic_auth_id = basic_auth_id
  @basic_auth_password = basic_auth_password

  yield(self) if block_given?
end

Instance Attribute Details

#access_keyObject

Returns the value of attribute access_key.



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

def access_key
  @access_key
end

#api_end_pointObject

Returns the value of attribute api_end_point.



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

def api_end_point
  @api_end_point
end

#basic_auth_idObject

Returns the value of attribute basic_auth_id.



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

def basic_auth_id
  @basic_auth_id
end

#basic_auth_passwordObject

Returns the value of attribute basic_auth_password.



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

def basic_auth_password
  @basic_auth_password
end

#certObject

Returns the value of attribute cert.



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

def cert
  @cert
end

#private_keyObject

Returns the value of attribute private_key.



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

def private_key
  @private_key
end

#software_idObject

Returns the value of attribute software_id.



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

def software_id
  @software_id
end