Sha256: 65c533ebc08beddfec3c18074999205570a0d04fac8612f35ca5afe7527e5d6e

Contents?: true

Size: 135 Bytes

Versions: 6

Compression:

Stored size: 135 Bytes

Contents

module Intelipost::ApiComponents
  class Component
    def has_error?(response)
      response["messages"].count > 0
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
intelipost-api-1.0.7 lib/intelipost/api/components/component.rb
intelipost-api-1.0.6 lib/intelipost/api/components/component.rb
intelipost-api-1.0.5 lib/intelipost/api/components/component.rb
intelipost-api-1.0.4 lib/intelipost/api/components/component.rb
intelipost-api-1.0.3 lib/intelipost/api/components/component.rb
intelipost-api-1.0.2 lib/intelipost/api/components/component.rb