Class: Spaceship::Tunes::TransitAppFile

Inherits:
TunesBase show all
Defined in:
lib/spaceship/tunes/transit_app_file.rb

Overview

Represents a geo json

Instance Attribute Summary collapse

Attributes inherited from Base

#client, #raw_data

Class Method Summary collapse

Methods inherited from TunesBase

client

Methods inherited from Base

attr_accessor, attr_mapping, #attributes, attributes, #initialize, #inspect, mapping_module, method_missing, set_client, #setup, #to_s

Constructor Details

This class inherits a constructor from Spaceship::Base

Instance Attribute Details

#asset_tokenObject

Returns the value of attribute asset_token.



5
6
7
# File 'lib/spaceship/tunes/transit_app_file.rb', line 5

def asset_token
  @asset_token
end

#nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/spaceship/tunes/transit_app_file.rb', line 7

def name
  @name
end

#time_stampObject

Returns the value of attribute time_stamp.



9
10
11
# File 'lib/spaceship/tunes/transit_app_file.rb', line 9

def time_stamp
  @time_stamp
end

#urlObject

Returns the value of attribute url.



11
12
13
# File 'lib/spaceship/tunes/transit_app_file.rb', line 11

def url
  @url
end

Class Method Details

.factory(attrs) ⇒ Object



21
22
23
# File 'lib/spaceship/tunes/transit_app_file.rb', line 21

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