Class: Methodist::Client
Overview
Methodist::Observer
Base class for Methodist clients
Defined Under Namespace
Classes: ResponseError
Class Attribute Summary collapse
-
.base_client ⇒ Object
readonly
Returns the value of attribute base_client.
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Instance method use to get defined client.
Class Method Summary collapse
Methods inherited from Pattern
Class Attribute Details
.base_client ⇒ Object (readonly)
Returns the value of attribute base_client.
12 13 14 |
# File 'lib/methodist/client.rb', line 12 def base_client @base_client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Instance method use to get defined client
22 23 24 |
# File 'lib/methodist/client.rb', line 22 def client @client end |
Class Method Details
.client(base_client) ⇒ Object
14 15 16 |
# File 'lib/methodist/client.rb', line 14 def client(base_client) @base_client = base_client end |