Sha256: a89c1b072f7995ab56a4263eae78d7c111d7f187bc518e45c143f029b0172f79
Contents?: true
Size: 665 Bytes
Versions: 5
Compression:
Stored size: 665 Bytes
Contents
# frozen_string_literal: true module Fabric module Accessors # # Add accessor methods to the given class. # # Usage: make sure the class has a gateway accessor method # and then `include Fabric::Accessors::Gateway` # module Gateway # # Returns the client instance # # @return [Fabric::Client] client # @!parse attr_reader :client # def client gateway.client end # # Returns the signer identity instance # # @return [Fabric::Identity] signer # @!parse attr_reader :signer # def signer gateway.signer end end end end
Version data entries
5 entries across 5 versions & 1 rubygems