Sha256: 8aa723341a9e655df491cf9893d64bfb8c8c1d6254f2b075010ee840aa525b3d

Contents?: true

Size: 248 Bytes

Versions: 1

Compression:

Stored size: 248 Bytes

Contents

module LocoRb
  module Resource
    class BaseResource < OpenStruct
      attr_reader :key, :headers
      def initialize(resource, headers, key=nil)
        @key = key
        @headers = headers
        super(resource)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
loco-rb-0.1.1 lib/loco-rb/resource/base_resource.rb