Sha256: f79189870778b0c6daef3b86a570685f16a507fdea835a43242bdffe5e6eb35d

Contents?: true

Size: 298 Bytes

Versions: 26

Compression:

Stored size: 298 Bytes

Contents

module ExternalServices
  module Api
    module <%= name %>
      extend ExternalServices::Api
      class Error < ExternalServices::Api::Error; end

      # module_function
      #
      # Redefine everything unusual:
      # def api_key
      #   'my hardcoded key'
      # end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
external_services-0.5.4 lib/generators/templates/services/api.rb
external_services-0.5.2 lib/generators/templates/services/api.rb
external_services-0.5.1 lib/generators/templates/services/api.rb
external_services-0.5.0 lib/generators/templates/services/api.rb
external_services-0.4.4 lib/generators/templates/services/api.rb
external_services-0.4.3 lib/generators/templates/services/api.rb
external_services-0.4.2 lib/generators/templates/services/api.rb
external_services-0.4.1 lib/generators/templates/services/api.rb
external_services-0.4.0 lib/generators/templates/services/api.rb
external_services-0.3.1 lib/generators/templates/services/api.rb
external_services-0.3.0 lib/generators/templates/services/api.rb
external_services-0.2.4 lib/generators/templates/services/api.rb
external_services-0.2.3 lib/generators/templates/services/api.rb
external_services-0.2.2 lib/generators/templates/services/api.rb
external_services-0.2.1 lib/generators/templates/services/api.rb
external_services-0.2.0 lib/generators/templates/services/api.rb
external_services-0.1.9 lib/generators/templates/services/api.rb
external_services-0.1.8 lib/generators/templates/services/api.rb
external_services-0.1.7 lib/generators/templates/services/api.rb
external_services-0.1.6 lib/generators/templates/services/api.rb