Class: Hci::Client
- Inherits:
-
Object
- Object
- Hci::Client
- Defined in:
- lib/hci/client.rb
Class Attribute Summary collapse
-
.api_key ⇒ Object
Returns the value of attribute api_key.
-
.callback_host ⇒ Object
Returns the value of attribute callback_host.
-
.callback_path ⇒ Object
Returns the value of attribute callback_path.
-
.http_end_point ⇒ Object
Returns the value of attribute http_end_point.
-
.load_path ⇒ Object
Returns the value of attribute load_path.
Class Method Summary collapse
Class Attribute Details
.api_key ⇒ Object
Returns the value of attribute api_key.
8 9 10 |
# File 'lib/hci/client.rb', line 8 def api_key @api_key end |
.callback_host ⇒ Object
Returns the value of attribute callback_host.
11 12 13 |
# File 'lib/hci/client.rb', line 11 def callback_host @callback_host end |
.callback_path ⇒ Object
Returns the value of attribute callback_path.
12 13 14 |
# File 'lib/hci/client.rb', line 12 def callback_path @callback_path end |
.http_end_point ⇒ Object
Returns the value of attribute http_end_point.
10 11 12 |
# File 'lib/hci/client.rb', line 10 def http_end_point @http_end_point end |
.load_path ⇒ Object
Returns the value of attribute load_path.
9 10 11 |
# File 'lib/hci/client.rb', line 9 def load_path @load_path end |
Class Method Details
.callback_url ⇒ Object
24 25 26 |
# File 'lib/hci/client.rb', line 24 def callback_url callback_host + '/' + callback_path end |
.load! ⇒ Object
18 19 20 21 22 |
# File 'lib/hci/client.rb', line 18 def load! Dir[File.join(load_path, "*.rb")].each do |file| load file end end |