class Probasketball::Api::Response::Success
Attributes
body[R]
status[R]
Public Class Methods
new(body, status = :ok)
click to toggle source
# File lib/probasketball/api/response.rb, line 5 def initialize(body, status = :ok) @body = body @status = status end
Public Instance Methods
success?()
click to toggle source
# File lib/probasketball/api/response.rb, line 10 def success? true end