Sha256: b2f38d5ab6b84801d77e466075d0400774b091da565a06eb1a8fac746e149b27
Contents?: true
Size: 268 Bytes
Versions: 2
Compression:
Stored size: 268 Bytes
Contents
# # fake class for Faraday.get # class FaradayFake class << self # # @param [string] endpoint # @return [Object] # def get(endpoint) if !@xml @xml = Struct.new(:body).new(File.read(endpoint)) end @xml end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sudachi-installer-0.1.1 | lib/sudachi-installer/faraday_fake.rb |
sudachi-installer-0.1.0 | lib/sudachi-installer/faraday_fake.rb |