class Recurly::FileParser

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

Public Class Methods

parse(body) click to toggle source

Parses the json body into a recurly object.

@param body [String] The data string to cast. @return [Resource]

# File lib/recurly/schema/file_parser.rb, line 9
def self.parse(body)
  Recurly::Resources::BinaryFile.cast(data: body)
end