Sha256: 383371def9c992fb04d9fbbff76ffdf09b04d068ab896e18392a5360ad4ad3fe

Contents?: true

Size: 190 Bytes

Versions: 2

Compression:

Stored size: 190 Bytes

Contents

module StatusPageVi
  class BaseService
    def self.resources(resource_name)
      return StatusPageVi::RESOURCES.values if resource_name == "ALL"
      [ resource_name ]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
status_page_vi-0.2.0 lib/status_page_vi/services/base_service.rb
status_page_vi-0.1.0 lib/status_page_vi/services/base_service.rb