Sha256: f8ba2791450d2765b78cc31f92a85fe85879d9e2e9045a56587eb810ade9adfa

Contents?: true

Size: 288 Bytes

Versions: 19

Compression:

Stored size: 288 Bytes

Contents

module Infrataster
  module Contexts
    class BaseContext
      attr_reader :server
      attr_reader :resource

      def initialize(server, resource)
        @server = server
        @resource = resource
      end

      def current_server
        @server
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
infrataster-0.3.2 lib/infrataster/contexts/base_context.rb
infrataster-0.3.1 lib/infrataster/contexts/base_context.rb
infrataster-0.3.0 lib/infrataster/contexts/base_context.rb
infrataster-0.2.6 lib/infrataster/contexts/base_context.rb
infrataster-0.2.5 lib/infrataster/contexts/base_context.rb
infrataster-0.2.4 lib/infrataster/contexts/base_context.rb
infrataster-0.2.3 lib/infrataster/contexts/base_context.rb
infrataster-0.2.2 lib/infrataster/contexts/base_context.rb
infrataster-0.2.1 lib/infrataster/contexts/base_context.rb
infrataster-0.2.0 lib/infrataster/contexts/base_context.rb
infrataster-0.2.0.beta1 lib/infrataster/contexts/base_context.rb
infrataster-0.1.13 lib/infrataster/contexts/base_context.rb
infrataster-0.1.12 lib/infrataster/contexts/base_context.rb
infrataster-0.1.11 lib/infrataster/contexts/base_context.rb
infrataster-0.1.10 lib/infrataster/contexts/base_context.rb
infrataster-0.1.9 lib/infrataster/contexts/base_context.rb
infrataster-0.1.8 lib/infrataster/contexts/base_context.rb
infrataster-0.1.7 lib/infrataster/contexts/base_context.rb
infrataster-0.1.6 lib/infrataster/contexts/base_context.rb