Sha256: cbf44dde3d3d032ece81644a421fb58be05fa475e08d7300abef600149939cdc

Contents?: true

Size: 1.79 KB

Versions: 17

Compression:

Stored size: 1.79 KB

Contents

module Houston
  module Adapters
    module ErrorTracker
      class ErrbitAdapter
        class Problem

          def initialize(attributes={})
            @attributes = attributes
          end

          attr_reader :attributes
          attr_accessor :err_ids
          attr_accessor :ticket

          def id
            attributes[:id]
          end

          def err_ids
            attributes[:err_ids]
          end

          def first_notice_at
            attributes[:first_notice_at]
          end

          def first_notice_commit
            attributes[:first_notice_commit]
          end

          def first_notice_environment
            attributes[:first_notice_environment]
          end

          def last_notice_at
            attributes[:last_notice_at]
          end

          def last_notice_commit
            attributes[:last_notice_commit]
          end

          def last_notice_environment
            attributes[:last_notice_environment]
          end

          def notices_count
            attributes[:notices_count]
          end


          def opened_at
            attributes[:opened_at]
          end

          def resolved_at
            attributes[:resolved_at]
          end

          def resolved?
            attributes[:resolved]
          end


          def app_id
            attributes[:app_id]
          end

          def message
            attributes[:message]
          end

          def where
            attributes[:where]
          end

          def environment
            attributes[:environment]
          end

          def url
            attributes[:url]
          end


          def comments
            attributes[:comments]
          end

          def deleted_at
            attributes[:deleted_at]
          end

        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
houston-core-0.8.0.pre app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb
houston-core-0.7.0 app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb
houston-core-0.7.0.beta4 app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb
houston-core-0.7.0.beta3 app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb
houston-core-0.7.0.beta2 app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb
houston-core-0.7.0.beta app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb
houston-core-0.6.3 app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb
houston-core-0.6.2 app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb
houston-core-0.6.1 app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb
houston-core-0.6.0 app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb
houston-core-0.5.6 app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb
houston-core-0.5.5 app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb
houston-core-0.5.4 app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb
houston-core-0.5.3 app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb
houston-core-0.5.2 app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb
houston-core-0.5.1 app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb
houston-core-0.5.0 app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb