Class: MLB::Platform

Inherits:
Shale::Mapper
  • Object
show all
Defined in:
lib/mlb/platform.rb

Overview

Represents a platform

Instance Attribute Summary collapse

Instance Attribute Details

#platform_code ⇒ String

Returns the platform code

Examples:

platform.platform_code #=> "web"

Returns:

  • (String) —

    the platform code



15
# File 'lib/mlb/platform.rb', line 15

attribute :platform_code, Shale::Type::String

#platform_description ⇒ String

Returns the platform description

Examples:

platform.platform_description #=> "Web"

Returns:

  • (String) —

    the platform description



23
# File 'lib/mlb/platform.rb', line 23

attribute :platform_description, Shale::Type::String