class Tapbot::Parser
Constants
- SupportedFormats
Public Class Methods
new(body, format)
click to toggle source
# File lib/tapbot/parser.rb, line 5 def initialize(body, format) @body = body @format = format end
Public Instance Methods
json()
click to toggle source
# File lib/tapbot/parser.rb, line 10 def json Hashie::Mash.new(JSON.parse(body)) end