Class: ChessApi::Player

Inherits:
Object
  • Object
show all
Defined in:
lib/chess_api/objects/player.rb

Class Method Summary collapse

Methods inherited from Object

#initialize, #method_missing, #respond_to_missing?

Constructor Details

This class inherits a constructor from ChessApi::Object

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ChessApi::Object

Class Method Details

.from_response(response) ⇒ Object



3
4
5
# File 'lib/chess_api/objects/player.rb', line 3

def self.from_response(response)
  new(response.body)
end