Sha256: df78ac2aba3525039d936a54c84a2ccdf272290cc6c6efe5de64747e22825475

Contents?: true

Size: 343 Bytes

Versions: 93

Compression:

Stored size: 343 Bytes

Contents

module Recurly
  # This is a wrapper class to help parse http response into Recurly objects.
  class FileParser

    # Parses the json body into a recurly object.
    #
    # @param body [String] The data string to cast.
    # @return [Resource]
    def self.parse(body)
      Recurly::Resources::BinaryFile.cast(data: body)
    end
  end
end

Version data entries

93 entries across 93 versions & 1 rubygems

Version Path
recurly-4.5.0 lib/recurly/schema/file_parser.rb
recurly-4.4.0 lib/recurly/schema/file_parser.rb
recurly-4.3.0 lib/recurly/schema/file_parser.rb
recurly-4.2.0 lib/recurly/schema/file_parser.rb
recurly-4.1.0 lib/recurly/schema/file_parser.rb
recurly-4.0.1 lib/recurly/schema/file_parser.rb
recurly-4.0.0 lib/recurly/schema/file_parser.rb
recurly-3.18.1 lib/recurly/schema/file_parser.rb
recurly-3.18.0 lib/recurly/schema/file_parser.rb
recurly-3.17.0 lib/recurly/schema/file_parser.rb
recurly-3.16.0 lib/recurly/schema/file_parser.rb
recurly-3.15.0 lib/recurly/schema/file_parser.rb
recurly-3.14.0 lib/recurly/schema/file_parser.rb
recurly-3.13.0 lib/recurly/schema/file_parser.rb
recurly-3.12.0 lib/recurly/schema/file_parser.rb
recurly-3.11.0 lib/recurly/schema/file_parser.rb
recurly-3.10.0 lib/recurly/schema/file_parser.rb
recurly-3.9.0 lib/recurly/schema/file_parser.rb
recurly-3.8.0 lib/recurly/schema/file_parser.rb
recurly-3.7.0 lib/recurly/schema/file_parser.rb