Sha256: 8afa025cfe428dc38045e1ed988255e5ab976fe07330615f4427ec88307c6c58

Contents?: true

Size: 480 Bytes

Versions: 112

Compression:

Stored size: 480 Bytes

Contents

module Spaceship
  module Tunes
    # Represents a geo json
    class TransitAppFile < TunesBase
      attr_accessor :asset_token

      attr_accessor :name

      attr_accessor :time_stamp

      attr_accessor :url

      attr_mapping(
        'assetToken' => :asset_token,
        'timeStemp' => :time_stamp,
        'url' => :url,
        'name' => :name
      )

      class << self
        def factory(attrs)
          self.new(attrs)
        end
      end
    end
  end
end

Version data entries

112 entries across 112 versions & 2 rubygems

Version Path
spaceship-0.11.5 lib/spaceship/tunes/transit_app_file.rb
spaceship-0.11.4 lib/spaceship/tunes/transit_app_file.rb
spaceship-0.11.3 lib/spaceship/tunes/transit_app_file.rb
spaceship-0.11.2 lib/spaceship/tunes/transit_app_file.rb
spaceship-0.11.1 lib/spaceship/tunes/transit_app_file.rb
spaceship-0.11.0 lib/spaceship/tunes/transit_app_file.rb
spaceship-0.10.3 lib/spaceship/tunes/transit_app_file.rb
spaceship-0.10.2 lib/spaceship/tunes/transit_app_file.rb
spaceship-0.10.1 lib/spaceship/tunes/transit_app_file.rb
spaceship-0.10.0 lib/spaceship/tunes/transit_app_file.rb
spaceship-0.9.1 lib/spaceship/tunes/transit_app_file.rb
spaceship-0.9.0 lib/spaceship/tunes/transit_app_file.rb