Module: ChessApi::InputHelpers

Included in:
MonthlyGameArchiveResource, PlayerResource, TitledPlayerResource
Defined in:
lib/chess_api/input_helpers.rb

Instance Method Summary collapse

Instance Method Details

#downcased_usernameObject



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

def downcased_username
  @username&.downcase
end

#upcased_title_abbreviationObject



7
8
9
# File 'lib/chess_api/input_helpers.rb', line 7

def upcased_title_abbreviation
  @title_abbreviation&.upcase
end