module Fabric::Accessors::Gateway

Add accessor methods to the given class.

Usage: make sure the class has a gateway accessor method and then ‘include Fabric::Accessors::Gateway`

Public Instance Methods

client() click to toggle source

Returns the client instance

@return [Fabric::Client] client @!parse attr_reader :client

# File lib/fabric/accessors/gateway.rb, line 18
def client
  gateway.client
end
signer() click to toggle source

Returns the signer identity instance

@return [Fabric::Identity] signer @!parse attr_reader :signer

# File lib/fabric/accessors/gateway.rb, line 28
def signer
  gateway.signer
end