class MySportsFeeds::Response::Success

Attributes

body[R]
status[R]

Public Class Methods

new(body, status = 200) click to toggle source
# File lib/mysportsfeeds/response.rb, line 6
def initialize(body, status = 200)
  @body   = body
  @status = status
end

Public Instance Methods

success?() click to toggle source
# File lib/mysportsfeeds/response.rb, line 11
def success?
  true
end