Skip to content

Use Consistent Method Names #1

@sshaw

Description

@sshaw

Some methods uses snake_case and others use camelCase. Everything should use camel_case, as this is the Ruby convention.

Additionally, since you're using Hashie, one will never know that they're calling the wrong method. For example, your README uses posting.created_at but it's really posting.createdAt. Since you're using Hashie, no NoMethodError is returned. Instead
it returns nil.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions