Module: Fabric::Accessors::Gateway
Overview
Add accessor methods to the given class.
Usage: make sure the class has a gateway accessor method
and then include Fabric::Accessors::Gateway
Instance Attribute Summary collapse
-
#client ⇒ Fabric::Client
readonly
Returns the client instance.
-
#signer ⇒ Fabric::Identity
readonly
Returns the signer identity instance.
Instance Attribute Details
#client ⇒ Fabric::Client (readonly)
Returns the client instance
18 19 20 |
# File 'lib/fabric/accessors/gateway.rb', line 18 def client gateway.client end |
#signer ⇒ Fabric::Identity (readonly)
Returns the signer identity instance
28 29 30 |
# File 'lib/fabric/accessors/gateway.rb', line 28 def signer gateway.signer end |