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.56.0 lib/recurly/schema/file_parser.rb
recurly-4.55.0 lib/recurly/schema/file_parser.rb
recurly-4.54.0 lib/recurly/schema/file_parser.rb
recurly-4.53.0 lib/recurly/schema/file_parser.rb
recurly-4.52.0 lib/recurly/schema/file_parser.rb
recurly-4.49.0 lib/recurly/schema/file_parser.rb
recurly-4.48.1 lib/recurly/schema/file_parser.rb
recurly-4.48.0 lib/recurly/schema/file_parser.rb
recurly-4.47.0 lib/recurly/schema/file_parser.rb
recurly-4.46.0 lib/recurly/schema/file_parser.rb
recurly-4.45.0 lib/recurly/schema/file_parser.rb
recurly-4.44.0 lib/recurly/schema/file_parser.rb
recurly-4.43.0 lib/recurly/schema/file_parser.rb
recurly-4.42.0 lib/recurly/schema/file_parser.rb
recurly-4.41.0 lib/recurly/schema/file_parser.rb
recurly-4.40.0 lib/recurly/schema/file_parser.rb
recurly-4.39.0 lib/recurly/schema/file_parser.rb
recurly-4.38.0 lib/recurly/schema/file_parser.rb
recurly-4.37.0 lib/recurly/schema/file_parser.rb
recurly-3.28.0 lib/recurly/schema/file_parser.rb