module Apitizer::Connection::Format
Public Class Methods
build(name)
click to toggle source
# File lib/apitizer/connection/format.rb, line 7 def self.build(name) self.const_get(name.to_s.upcase).new rescue NameError raise Error, 'Unknown format' end