Method: Blazer.maps?

Defined in:
lib/blazer.rb

.maps?Boolean

TODO show warning on invalid access token

Returns:

  • (Boolean)


221
222
223
# File 'lib/blazer.rb', line 221

def self.maps?
  mapbox_access_token.present? && mapbox_access_token.start_with?("pk.")
end