Sha256: b7474b7a84a67c511c7004d08b0f303fb9c105bcd387615b54c60c775896ab98

Contents?: true

Size: 415 Bytes

Versions: 37

Compression:

Stored size: 415 Bytes

Contents

module ChangelogsHelper
  def build_volta_icon(element)
    return '' unless element

    if element.scan(/vonage-(\w+)-sdk/).present?
      element.scan(/vonage-(\w+)-sdk/).flatten.first.downcase
    elsif element.scan(/(\w+) SDK/).present?
      element.scan(/(\w+) SDK/).flatten.first.downcase
    elsif element.scan(/(\w+)-cli/).present?
      element.scan(/(\w+)-cli/).flatten.first.downcase
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
station-0.5.16 lib/nexmo_developer/app/helpers/changelogs_helper.rb
station-0.5.15 lib/nexmo_developer/app/helpers/changelogs_helper.rb
station-0.5.14 lib/nexmo_developer/app/helpers/changelogs_helper.rb
station-0.5.13 lib/nexmo_developer/app/helpers/changelogs_helper.rb
station-0.5.12 lib/nexmo_developer/app/helpers/changelogs_helper.rb
station-0.5.11 lib/nexmo_developer/app/helpers/changelogs_helper.rb
station-0.5.10 lib/nexmo_developer/app/helpers/changelogs_helper.rb
station-0.5.9 lib/nexmo_developer/app/helpers/changelogs_helper.rb
station-0.5.8 lib/nexmo_developer/app/helpers/changelogs_helper.rb
station-0.5.7 lib/nexmo_developer/app/helpers/changelogs_helper.rb
station-0.5.6 lib/nexmo_developer/app/helpers/changelogs_helper.rb
station-0.5.5 lib/nexmo_developer/app/helpers/changelogs_helper.rb
station-0.5.4 lib/nexmo_developer/app/helpers/changelogs_helper.rb
station-0.5.3 lib/nexmo_developer/app/helpers/changelogs_helper.rb
station-0.5.2 lib/nexmo_developer/app/helpers/changelogs_helper.rb
station-0.5.1 lib/nexmo_developer/app/helpers/changelogs_helper.rb
station-0.5.0 lib/nexmo_developer/app/helpers/changelogs_helper.rb
station-0.4.9 lib/nexmo_developer/app/helpers/changelogs_helper.rb
station-0.4.8 lib/nexmo_developer/app/helpers/changelogs_helper.rb
station-0.4.7 lib/nexmo_developer/app/helpers/changelogs_helper.rb