Class: Spaceship::ConnectAPI::BetaTesterMetric

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb

Defined Under Namespace

Modules: BetaTesterState

Instance Attribute Summary collapse

Attributes included from Model

#id, #reverse_attr_map

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Model

#attr_mapping, included, #initialize, #reverse_attr_mapping, #to_json, #update_attributes

Instance Attribute Details

#beta_tester_stateObject

Returns the value of attribute beta_tester_state.



10
11
12
# File 'spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb', line 10

def beta_tester_state
  @beta_tester_state
end

#crash_countObject

Returns the value of attribute crash_count.



8
9
10
# File 'spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb', line 8

def crash_count
  @crash_count
end

#install_countObject

Returns the value of attribute install_count.



7
8
9
# File 'spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb', line 7

def install_count
  @install_count
end

#installed_cf_bundle_short_version_stringObject

Returns the value of attribute installed_cf_bundle_short_version_string.



12
13
14
# File 'spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb', line 12

def installed_cf_bundle_short_version_string
  @installed_cf_bundle_short_version_string
end

#installed_cf_bundle_versionObject

Returns the value of attribute installed_cf_bundle_version.



13
14
15
# File 'spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb', line 13

def installed_cf_bundle_version
  @installed_cf_bundle_version
end

#last_modified_dateObject

Returns the value of attribute last_modified_date.



11
12
13
# File 'spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb', line 11

def last_modified_date
  @last_modified_date
end

#session_countObject

Returns the value of attribute session_count.



9
10
11
# File 'spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb', line 9

def session_count
  @session_count
end

Class Method Details

.typeObject



31
32
33
# File 'spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb', line 31

def self.type
  return "betaTesterMetrics"
end

Instance Method Details

#installed?Boolean

Helpers

Returns:

  • (Boolean)


39
40
41
# File 'spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb', line 39

def installed?
  return beta_tester_state == BetaTesterState::INSTALLED
end