Sha256: dba11941c0b202d5ed2b719128fe25ad6ebadcc713b8702109e67ba593d68286

Contents?: true

Size: 285 Bytes

Versions: 1

Compression:

Stored size: 285 Bytes

Contents

module Dribbble
  module Utils
    module Findable
      module ClassMethods
        def find(token, id)
          new token, html_get("/#{pluralized_class_name}/#{id}")
        end
      end

      def self.included(base)
        base.extend(ClassMethods)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dribbble-1.0.0 lib/dribbble/utils/findable.rb